#ifndef CONTOUR_FILE_H_INCLUDED
#define CONTOUR_FILE_H_INCLUDED

#include "contour.h"

/**\file contour_extractor.h
*  \brief Define the class ContourFile which makes files operations */

/** \class ContourFile
*   \brief This class define functions which makes files operation
*/
class ContourFile{
    public:
        ///Constructor(empty)
        ContourFile();
        ///Destructor(empty)
        ~ContourFile();

        ///Load a contour from file
        ///\param filename filename/path of file
        ///\return the Contour
        static Contour* loadContour(char *filename);

        ///Save contour in a file
        ///\param contour The Contour which will be saved
        ///\param filename filename/path of file
        static void saveContour(Contour *contour, char *filename);

};


#endif // CONTOUR_FILE_H_INCLUDED
